package com.anyou.mall.dri.mapper;

import com.anyou.mall.dri.domain.Notice;
import com.anyou.mall.dri.vo.Driver1Vo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author liqipeng
 * @description 司机通知-mapper接口类
 * @date 2022-04-02
 */
@Repository
public interface NoticeMapper extends BaseMapper<Notice> {
    /**
     * 司机消息列表
     * @param page
     * @param driverId
     * @return
     */
    IPage<Notice> getUserNoticeList(@Param("page") Page page, @Param("driverId") Long driverId);

    List<Driver1Vo> selectDriverList();
}
